Working with PrizmDoc > Administering PrizmDoc > System Configuration > Configuring the Viewing Client > Configuration Options > Configuring Skinny Comments Panel |
To better accommodate the Comments view in both small and large viewers, the Viewing Client automatically switches between displaying the comments in their entirety to displaying only a Comments icon. When you click the Comments icon, the full comment is expanded. By default, the mode automatically switches between the two pages on the space available for viewing the document.
The commentsPanelMode options are:
The examples below show the use of the commentsPanelMode configuration parameter.
Forcing the Viewing Client to always display skinny comments:
Example |
Copy Code
|
---|---|
var pluginOptions = { documentID: viewingSessionId, language: languageItems, template: htmlTemplates, commentsPanelMode: "skinny" }; $(document).ready(function () { var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl; }); |
Forcing the Viewing Client to always display full comments:
Example |
Copy Code
|
---|---|
var pluginOptions = { documentID: viewingSessionId, language: languageItems, template: htmlTemplates, commentsPanelMode: "full" }; $(document).ready(function () { var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl; }); |
Allowing the Viewing Client to choose between skinny and full comments – note, this is the default option, so it does not need to be explicitly defined:
Example |
Copy Code
|
---|---|
var pluginOptions = { documentID: viewingSessionId, language: languageItems, template: htmlTemplates, commentsPanelMode: "auto" }; $(document).ready(function () { var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl; }); |